package com.xinzhi.mapper;

import com.xinzhi.pojo.Reason;
import com.xinzhi.pojo.dto.Dtoteshujia;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ReasonMapper {
//    新增加分接口
    int addScore(@Param("object") String object,@Param("poinexe") String poinexe,@Param("extra") Integer extra);
    //查询特殊加分表里有没有这个加分原因
    Reason selectpoint(String poinexe);
    //根据id修改特殊加分分值和原因
    int updatepoint(@Param("poinexe") String poinexe,@Param("extra") Integer point,@Param("id") Integer id);


    List<Dtoteshujia> querystuden3(String statet);
    List<Dtoteshujia> querystuden4(Integer year);
}